<!-- 引入头部 -->
<include file="header" />
<link rel="stylesheet" href="__PUBLIC__/css/admin/index.css">
<script type="application/javascript" src="__PUBLIC__/js/home/index.js"></script>
<style type="text/css">
body {
    font-size: 13px;
}
</style>

<body>


<div class="container-fluid">

<!-- 首先屏幕分为2列 -->
<div class="row">
<!--    左则的菜单栏 -->
   <include file="left" />

    <!-- 如果是中大屏幕则分为2列，在小屏幕就显示一列 -->
    <div class="col-md-10 col-sm-10 col-xs-12">
        <div class="panel panel-default">
          <div class="panel-heading" style="height:40px;">
              <div class="row">
                  <div class="col-sm-3 my-breadcrumb"><span class="">文章分类 > 新增分类</span></div>
                  <div class="col-sm-2 col-sm-offset-7">
                      <a class="btn btn-info active " style="padding:4px 8px;" href="{:U('Home/Index/addArtType')}">
                        新增
                      </a>
                  </div>
              </div>
          </div>
        </div>


        <div class="main-content">

            <form name="addArt" id="addArt" method="post"
                  class="form-horizontal" role="form">
                <input type="hidden" name="id" id="id" value="{:$ct['id']}">
              <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">编号</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" id="type_no" name="type_no"
                         value = "{:$ct['type_no']}" placeholder="请输入文章编号">
                </div>
              </div>
              <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">类型名称</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" id="type_name" name="type_name"
                         value = "{:$ct['type_name']}" placeholder="请输入文章类型名称">
                </div>
              </div>

              <div class="form-group">
               <div class="col-sm-offset-4 col-sm-8">
                  <button type="submit" class="btn btn-info">保存</button>
                   &nbsp;&nbsp;&nbsp;&nbsp;
                  <button type="reset" class="btn btn-default">取消</button>
                </div>
              </div>
            </form>

        </div> <!-- main-content -->
</div>

</div>  <!-- /row -->

</div> <!-- /container -->

</body>

<!-- 引入尾部 -->
<include file="footer" />
